Xbasic
SQL::StatementReset Method
Syntax
V Reset()
Description
Reset the query as if it had just been created.
Discussion
The Reset() function resets the values in the SQL::Statement object as if it had just been created.
Example
dim stat as SQL::Statement dim sql_query as C sql_query = "SELECT * FROM Customer WHERE len(lastname) > 6" ? stat.parse(sql_query) = .T. ? stat.SQLStatement = "SELECT * FROM CustomerWHERE (len(lastname) > 6)" stat.reset() ? stat.SQLStatement = ""
See Also